<% if((Utilisateur)session.getAttribute("user_connected") != null ){ %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>vente de billets</title>
	<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
	<!--[if lte IE 6]><link rel="stylesheet" href="css/ie6.css" type="text/css" media="all" /><![endif]-->
	
	<meta name="keywwords" content="Shop Around - Great free html template for on-line shop. Use it as a start point for your on line business. The template can be easily implemented in many open source E-commerce platforms" />
	<meta name="description" content="Shop Around - Great free html template for on-line shop. Use it as a start point for your on line business. The template can be easily implemented in many open source E-commerce platforms" />
	
	<!-- JS -->
	<script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>	
	<script src="js/jquery.jcarousel.pack.js" type="text/javascript"></script>	
	<script src="js/jquery-func.js" type="text/javascript"></script>	
	<!-- End JS -->
	
</head>
<body>
	
<!-- Shell -->	
<div class="shell">
	
	<!-- Header -->	
	<%@ include file="header.jsp" %>
	
	<!-- Main -->
	<div id="main">		
		<!-- Principal -->
		<div id="principal">
			<br />
			<h1> Enregistrer votre billet</h1><br/>
										
			<div class="billet-info">
	    		<div class="billet-desc" style="padding-left: 40px;">
	    		
	    			<form action="CreateBillet" method="post">
						
						<table style="" align="center" cellspacing="10">
							<tr>
								<td><label>Ville de départ</label></td>
								<td><input type="text" class="field" name="villedepart"/></td>
							</tr>
							<tr>
								<td><label>Ville d'arrivée</label></td>
								<td><input type="text" class="field" name="villearrivee"/></td>
							</tr>
							
							<tr>
								<td><label>Date de départ</label></td>
								<td><input type="text" class="field" name="datedepart"/></td>
							</tr>
							
							<tr>
								<td><label>Heure de départ</label></td>
								<td><input type="text" class="field" name="heuredepart"/></td>
							</tr>
							
							<tr>
								<td><label>Heure d'arrivée</label></td>
								<td><input type="text" class="field" name="heurearrivee"/></td>
							</tr>
							
							<tr>
								<td><label>Prix d'achat</label></td>
								<td><input type="text" class="field" name="prixinitial"/></td>
							</tr>
							
							<tr>
								<td><label>Prix de vente</label></td>
								<td><input type="text" class="field" name="prixvente"/></td>
							</tr>
							
							<tr>
								<td><label>Validite du billet</label></td>
								<td><input type="text" class="field" name="validitebillet"/></td>
							</tr>
							
							<tr>
								<td><label>Image du billet</label></td>
								<td><input type="file" class="field" name="imagebillet"/></td>
							</tr>
							
							<tr>
								<td><label>Moyen de remboursement</label></td>
								<td>
									<select class="field">
										<option value="0">---- Choisir ----</option>
										<option value="vir">Virement bancaire</option>
										<option value="cheq">Par cheque</option>
									</select>
								</td>
							</tr>
						
							<tr >
							<td colspan="2" style="padding-top: 10px;">
								<label>BANQUE </label><input type="text" class="field" name="rib_banque"/>
								<label>GUICHET </label><input type="text" class="field" name="rib_guichet"/>
								<label>COMPTE </label><input type="text" class="field" name="rib_compte"/>
								<label>CLE </label><input type="text" class="field" name="rib_cle" maxlength="3" size="3"/>
								<br />
							</td>
							</tr>
							
							<tr>
								<td><input type="submit" class="search-submit" value="OK" /></td>
								<td><input type="reset" class="search-submit" value="Annuler" /></td>
							</tr>
						</table>	
													
					</form>
	    		
	    		</div>
	    	</div>
										
		</div>
		<!-- End Content -->
		
		<!-- Sidebar -->
		<div id="sidebar">
			
			<!-- Search -->
			<%@ include file="search.jsp" %>
			
			<!-- Menus -->
			<%@ include file="menus_user.jsp" %>
			
		</div>
		<!-- End Sidebar -->
		
		<div class="cl">&nbsp;</div>
	</div>
	<!-- End Main -->
	
	<!-- Side Full -->
	<%@ include file="foot_slide.jsp" %>
	
	<!-- Footer -->
	<%@ include file="footer.jsp" %>

</div>	
<!-- End Shell -->
	
</body>
</html>
<%} else { response.sendRedirect("index.jsp"); } %>